package com.hiultra.archive.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 资产盘点子对象 arc_check_details
 *
 * @author ls
 * @date 2023-09-05
 */
public class ArcCheckDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long detailId;

    /** 盘点ID */
    @Excel(name = "盘点ID")
    private Long checkId;

    /** 档案盒ID */
    @Excel(name = "档案盒ID")
    private Long boxId;

    /** 盘点结果 0正常 1盘亏2盘盈 */
    @Excel(name = "盘点结果 0正常 1盘亏2盘盈")
    private String checkResult;

    /** 档案ID */
    @Excel(name = "档案ID")
    private Long archiveId;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkDate;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private String delflag;

    /** 盘点类型 */
    @Excel(name = "盘点类型")
    private String checkType;

    public String getCheckType() {
        return checkType;
    }

    public void setCheckType(String checkType) {
        this.checkType = checkType;
    }

    public void setDetailId(Long detailId)
    {
        this.detailId = detailId;
    }

    public Long getDetailId()
    {
        return detailId;
    }

    public Long getCheckId() {
        return checkId;
    }

    public void setCheckId(Long checkId) {
        this.checkId = checkId;
    }

    public void setBoxId(Long boxId)
    {
        this.boxId = boxId;
    }

    public Long getBoxId()
    {
        return boxId;
    }
    public void setCheckResult(String checkResult)
    {
        this.checkResult = checkResult;
    }

    public String getCheckResult()
    {
        return checkResult;
    }
    public void setArchiveId(Long archiveId)
    {
        this.archiveId = archiveId;
    }

    public Long getArchiveId()
    {
        return archiveId;
    }
    public void setCheckDate(Date checkDate)
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate()
    {
        return checkDate;
    }
    public void setDelflag(String delflag)
    {
        this.delflag = delflag;
    }

    public String getDelflag()
    {
        return delflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailId", getDetailId())
            .append("checkId", getCheckId())
            .append("boxId", getBoxId())
            .append("checkResult", getCheckResult())
            .append("archiveId", getArchiveId())
            .append("checkDate", getCheckDate())
            .append("delflag", getDelflag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
